import java.awt.Graphics;
import javax.swing.JPanel;
public class ConcentricCircle extends JPanel 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int centerX;
	private int centerY;
	public ConcentricCircle(int x, int y)
	{
		centerX = x;
		centerY = y;
	}
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		for (int i = 1; i < 13; i++)
		{
			g.drawOval(centerX - 10 * i, centerY - 10 * i, i * 20, i * 20);
		}
	}
}